package io.renren.modules.nuaa.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.common.dao.BaseDao;
import io.renren.modules.nuaa.dto.TNewsDTO;
import io.renren.modules.nuaa.entity.TNewsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* 新闻管理
*
* @author whc 15953295779@126.com
* @since 3.0 2023-10-31
*/
@Mapper
public interface TNewsDao extends BaseDao<TNewsEntity> {
    IPage<TNewsEntity> selectPageVo(Page page, @Param(Constants.WRAPPER) QueryWrapper<TNewsDTO> warpper);
}